home *** CD-ROM | disk | FTP | other *** search
- package com.extensibility.xa;
-
- import com.extensibility.app.BaseAction;
- import java.awt.event.ActionEvent;
- import javax.swing.AbstractAction;
-
- public class ElementDiagram$ZoomOutAction extends BaseAction {
- // $FF: synthetic field
- final ElementDiagram this$0;
- ElementDiagram.ZoomInAction inAction;
-
- public ElementDiagram$ZoomOutAction(ElementDiagram var1) {
- super("element.zoomout", 93);
- this.this$0 = var1;
- this.updateEnabled();
- }
-
- public void setInAction(ElementDiagram.ZoomInAction var1) {
- this.inAction = var1;
- }
-
- public void updateEnabled() {
- ((AbstractAction)this).setEnabled(this.this$0.getZoom() > this.this$0.getZoomMin());
- }
-
- public void actionOccurred(ActionEvent var1) {
- this.this$0.zoomOut();
- this.updateEnabled();
- this.inAction.updateEnabled();
- }
- }
-